#!/usr/bin/env python
# -*- coding: utf-8 -*-

# Módulos 
import sys, pygame, utils
from pygame.locals import *

# Constantes
 
# Clases
# ---------------------------------------------------------------------

class BotonAdelante(pygame.sprite.Sprite):
    def __init__(self):
        pygame.sprite.Sprite.__init__(self)
        self.image = utils.load_image("images/flecha.gif", True)
        self.sonido = pygame.mixer.Sound("sounds/recycle.wav")
        self.rect = self.image.get_rect()
        self.rect.centerx = 730*utils.RES
        self.rect.centery = 460*utils.RES

class BotonAtras(pygame.sprite.Sprite):
    def __init__(self):
        pygame.sprite.Sprite.__init__(self)
        self.image = utils.load_image("images/flecha_atras.gif", True)
        self.rect = self.image.get_rect()
        self.sonido = pygame.mixer.Sound("sounds/recycle.wav")
        self.rect.centerx = 70*utils.RES
        self.rect.centery = 460*utils.RES

class Boton_menu(pygame.sprite.Sprite):
    def __init__(self, imagen, x, y):
        pygame.sprite.Sprite.__init__(self)
        self.image = utils.load_image(imagen, True)
        self.image.convert()
        self.rect = self.image.get_rect()
        self.rect.centerx = x
        self.rect.centery = y
        self.sonido = pygame.mixer.Sound("sounds/menu.ogg")
    
# ---------------------------------------------------------------------
 
# Funciones
# ---------------------------------------------------------------------
 
 
# ---------------------------------------------------------------------
 
